#!/bin/sh -e

export DESTDIR="$1" 

patch -p1 < execinfo-removal.patch

cmake -B build \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release

cmake --build   build
cmake --install build
